@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}
/*滚动条样式*/
::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 12px;
}

::-moz-scrollbar {
  /*滚动条整体样式*/
  width: 5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 12px;
}

::-ms-scrollbar {
  /*滚动条整体样式*/
  width:5px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 12px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 60px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

::-moz-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 60px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

::-ms-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 100px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  border-radius: 0;
  background: rgba(0, 0, 0, 0);
}

::-moz-scrollbar-track {
  /*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  border-radius: 0;
  background: rgba(0, 0, 0, 0);
}

::-ms-scrollbar-track {
  /*滚动条里面轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  border-radius: 0;
  background: rgba(0, 0, 0, 0);
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.tree-left{
  // width: 260px;
}

.box-card{
  margin-bottom: 10px;
}

.tree-title {
  padding-left: 18px;
  font-size: 15px;
  font-weight: 800;
  height: 30px;
  line-height: 30px;
  background-color: #4f86ff;
  color: #fff;
  position: relative;
  .tree-title-btn{
    position: absolute;
    right: 0px;
    cursor: pointer;
    i{
      margin-right: 6px;
      font-size: 20px;
      font-weight: bold;
    }
  }
}

.tree-style{
  height: calc(100vh - 80px);
  overflow: auto;
}

.tree-scrollbar{
  // height: 100%;
  padding-bottom: 10px;
}

.tree-scrollbar .el-scrollbar__wrap{
  overflow-x: hidden;
}

.tree-style .el-tree{
  /*padding: 10px;
  padding-right: 17px;*/
  padding-top: 10px;
  .el-tree-node__content{
    height: 34px;
  }
}
.tree-right .my-card{
  height: calc(100vh - 80px);
  overflow: auto;
}

.content-right{
  width: calc(100% - 260px);
}
.tree-bts{
  position: absolute;
  right: 0px;
}

.list-tree {
  height: 50vh;
  overflow-y: auto;
}

.expand-show {
  height: 200px;
  width: 100%;
  display: flex;
  padding: 10px 48px;
  .item {
    width: 300px;
    height: 100%;
    margin-right: 20px;
    border-radius: 10px;
    background-color: #ededed;
    .title {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
      font-weight: 800;
      font-size: 16px;
      height: 40px;
      line-height: 40px;
      color: #fff;
      padding-left: 10px;
      background-color: #0064b9;
    }
    .info {
      padding: 10px;
      font-size: 14px;
      color: #0064b9;
    }
    &:nth-child(2) {
      .title {
        background-color: #23b8e5;
      }
      .info {
        color: #23b8e5;
      }
    }
    &:nth-child(3) {
      border-right: none;
      .title {
        background-color: #6eb77f;
      }
      .info {
        color: #6eb77f;
      }
    }
  }
}

.box-card{
  margin-bottom: 10px;
}

.el-pagination{
  text-align: right;
  padding: 10px 10px;
}

.sub-top-table {
  table-layout: fixed;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  border-top: 1px solid #dfe4ed;
  th {
    width: 100px;
    color: #555;
    height: 40px;
    font-size: 13px;
    background-color: #f2f7fb;
    padding: 0 10px;
    text-align: center;
    border: 1px solid #dfe6ec;
    border-top: 0;
  }
  td {
    word-break: break-all;
    word-wrap: break-word;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    border: 1px solid #dfe6ec;
    border-top: 0;
    vertical-align: middle;
    background-color: #FFFFFF;
  }
}
.authorized-change {
  .el-card{
    border: 0;
  }
  .authorized-list{
    .el-card{
      height: calc(50vh - 50px);
      //overflow: auto;
    }
  }
}
.authorized-card{
  .authorized-list{

     width: calc(50% - 60px);
  }
  .authorized-btn{
    width: 120px;
    height: 100px;
    margin-top: calc(25vh - 80px);
  }
}
.person-change {
  .el-card{
    border: 0;
  }
  .person-list{
    .el-card{
      height: calc(50vh - 60px);
      overflow-y: auto;
    }

  }
}
.person-card{
  .person-list{
  }
}

.app-main{
  padding: 10px;
}

.my-card{
  border: 0;
}

.show-title{
   font-weight: bold;
}

.el-table__empty-text{
   background: url("../images/nodata.png") no-repeat;
  display: inline-block;
  height: 150px;
  background-size: 150px auto;
  background-position: center;
  padding-top: 100px;
}
.el-table__empty-block{
  height: 120px;
  position: relative;
}

.el-form-item {
  margin-bottom: 18px;
}

.orgdetail-icon{
  width: 30px;
  height: 30px;
  background-color: #f6f6fc;
  border-radius: 6px;
  text-align: center;
  line-height: 30px;
  color: #00afff;
  margin-right: 5px;
}

.orgdetail-title{
  font-weight: bold;
  color: #5a5e66;
}

.inner-table{

}

.inner-card{
  margin: 5px 10px;
  border: 0;
  .el-card__body{
    padding: 10px 10px 10px 10px;
  }
}

.el-date-editor{
  width: 100%;
}

.el-select{
  width: 100%;
}

.tree-wrapper .el-card__body{
  padding: 0;
}

.tree-title{
  line-height: 38px;
  height: 38px;
}

.tree-right .el-card__body{
  padding: 15px 15px 15px 15px;
}

.largescreen{
  background-color: #1D2549 !important;
  border-right: 1px solid #095a80;
  .el-menu{
    background-color: #1D2549 !important;
  }

  .el-submenu__title{
    padding-left: 20px;
    color: #e7e7e7 !important;
    background-color: #1D2549 !important;
  }

  .submenu-title-noDropdown{
    color: #e7e7e7 !important;
    background-color: #1D2549 !important;
  }
  .submenu-title-noDropdown:hover{
    color: #FFFFFF !important;
    background-image: linear-gradient(to right, rgba(4,78,128,0), rgb(2, 104, 172)) !important;
  }
  .el-menu-item.is-active{
    background-image: linear-gradient(to right, rgba(4,78,128,0), rgb(2, 104, 172)) !important;
    background-color: rgba(0,0,0,0) !important;
  }

  .el-submenu__title:hover{
    color: #FFFFFF !important;
    background-image: linear-gradient(to right, rgba(4,78,128,0), rgb(2, 104, 172)) !important;
  }

  .el-submenu .el-menu-item{
    color: #e7e7e7 !important;
    background-color: #1D2549 !important;
  }

  .el-submenu .el-menu-item:hover{
    color: #FFFFFF !important;
    background-image: linear-gradient(to right, rgba(4,78,128,0), rgb(2, 104, 172)) !important;
  }

  /*.sidebar-container .nest-menu .el-submenu > .el-submenu__title:hover, #app .sidebar-container .el-submenu .el-menu-item:hover{
    background-image: linear-gradient(to right, rgba(4,78,128,0), rgb(2, 104, 172)) !important;
  }*/
}

.tree-scrollbar{
  height: calc(100vh - 120px);
  overflow-y: auto;
}
